//Drone.h
/*Header file for Drone, a class that represents the a Drone object, a part of the swarm
Created by: Nick Taylor
*/

#ifndef DRONE_H
#define DRONE_H

#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>

using namespace std;

class Drone
{
public:
	Drone();			
	Drone(float);
	float getXPos();
	float getYPos();
	float getZPos();;
	float getSize();
	void setXPos(float);
	void setYPos(float);
	void setZPos(float);
	void randomizePos();
	

private:
	/*For serialization */
	friend class boost::serialization::access;
	template<class Archive>
	void serialize(Archive &ar, const unsigned int &version) {
		ar & xPos;
		ar & yPos;
		ar & zPos;
		ar & size;
		ar & roomSize;
	}
	float roomSize;
	float xPos;
	float yPos;
	float zPos;
	float size;
};

#endif
